<template>
	<view>
		<!-- #ifdef MP -->
		<view class="cu-custom text-white" :style="{color: '#ffffff'}">
			<view class="cu-bar fixed" :style="{ height: $wanlshop.wanlsys().height + 'px', paddingTop: $wanlshop.wanlsys().top + 'px' }">
				<view class="action mp text-bold">
					<text class="wlIcon-shezhi" style="margin-right: 0.6em;" @tap="$wanlshop.auth('/pages/user/setting/setting')"></text>
					<text class="wlIcon-shiyongbangzhu1" @tap="help"></text>
				</view>
				<!-- 背景 -->
				<view class="bar-bg" v-if="headerOpacity > 0" :style="{ 
					height: $wanlshop.wanlsys().height + 'px', 
					opacity: headerOpacity,
					backgroundColor: user.partner?'#C8905D':'#CA2222',
					backgroundImage: 'url(' + $wanlshop.oss(common.appStyle.user_nav_image, 414, 0, 1, 'transparent', 'png') + ')'
				}"></view>
			</view>
		</view>
		<!-- #endif -->
		<!-- #ifndef MP -->
		<view class="cu-custom" :style="{color: '#ffffff'}">
			<view class="cu-bar fixed" :style="{ height: $wanlshop.wanlsys().height + 'px', paddingTop: $wanlshop.wanlsys().top + 'px' }">
				<view class="text-lg" @tap="$wanlshop.auth('/pages/user/setting/user')">
					<view v-if="headerOpacity == 1">
						<view class="cu-avatar round margin-right-xs" :style="{ backgroundImage: 'url(' + $wanlshop.oss(user.avatar, 35, 35, 2, 'avatar') + ')' }"></view>
						<text v-if="user.isLogin">{{ user.nickname }}<text  class="wlIcon-guanfang" :style="(user.isvip?'color:orange;margin-left:10rpx':'color:gray;font-size:28rpx;margin-left:10rpx')"></text></text>
						<text v-else>登录 / 注册</text>
					</view>
				</view>
				<!-- 背景 -->
				<view class="bar-bg" v-if="headerOpacity > 0" :style="{ 
					height: $wanlshop.wanlsys().height + 'px', 
					opacity: headerOpacity,
					backgroundColor: user.partner?'#C8905D':'#CA2222',
					
					color: common.appStyle.user_font_color == 'light'?'#ffffff':'#222222'
				}"></view>
				<view class="action">
					<block>						
						<text class="margin-right text-sm" @tap="$wanlshop.auth('/pages/user2/qrcode/qrcode')">会员码</text>
					</block>
					<text class="wlIcon-erweima" @tap="$wanlshop.auth('/pages/user2/qrcode/qrcode')"></text>
					<text class="wlIcon-shezhi" @tap="$wanlshop.auth('/pages/user/setting/setting')"></text>
					<text class="wlIcon-xiaoxizhongxin" @tap="$wanlshop.to('/pages/notice/notice')"></text>
					<view class="cu-tag badge" v-if="statistics.notice.notice +statistics.notice.order +statistics.notice.chat > 0">{{ statistics.notice.notice +statistics.notice.order +statistics.notice.chat }}</view>
				</view>
			</view>
		</view>
		<!-- #endif -->
		<view class="wanl-user" :style="{
			backgroundImage: 'url(' + $wanlshop.oss(user.partner?'https://dundunpai.oss-cn-beijing.aliyuncs.com/OSS/20240801/b467cbc90ca4c90ef5c9f36a8a856eca.jpg':'https://ddguan.oss-cn-beijing.aliyuncs.com/uploads/20240712/24219185d78474cdef4ae155be3af39f.jpg') + ')',
			color: '#ffffff'}">
			
			<view class="user" :style="{ paddingTop: $wanlshop.wanlsys().height + 'px' }">
				<view class="avatar margin-right-bj" @tap="portrai">
					<image class="round" :src="$wanlshop.oss(user.avatar, 62, 62, 2, 'avatar')" mode="aspectFill"></image></view>
				<view class="content" style="position: relative;" v-if="user.isLogin">
					<view class="text-xxl" @tap="$wanlshop.auth('/pages/user2/vip/vip')">{{ user.nickname }}	<text  class="wlIcon-guanfang" :style="(user.isvip?'color:orange;margin-left:10rpx':'color:gray;font-size:32rpx;margin-left:10rpx')"></text></view>
					<view class="text-sm" :style="{color:user.partner?'#734620':'red'}">
						<view class="cu-tag sm radius" style="padding: 8px; background-color: #ffffff;   border-radius: 10px;  font-size: 27rpx;" @tap="$wanlshop.auth('/pages/user2/coin/coin')">
							金币 {{ user.coin }}
						</view>
						<view class="cu-tag sm radius" style="padding: 8px; background-color: #ffffff;   border-radius: 10px;  font-size: 27rpx;"   @tap="$wanlshop.to('/pages/user2/reimbursement/list')">
							消费券 {{ user.reim }}
						</view>
					</view>
					<view  :style="{color:user.partner?'#734620':'red'}" class="userjd"  @tap="$wanlshop.auth('/pages/user/signin/signin')">签到</view>
				
				</view>
				<view class="content" @tap="$wanlshop.auth('/pages/user')" v-else>
					<view class="text-xxl">登录 / 注册</view>
					<!-- <view class="cu-tag bg-orange sm radius">Hi</view> -->
					<view class="cu-tag wanl-bg-pink sm radius">Hi，欢迎登录</view>
				</view>
			</view>
			<view class="operate">
				<view class="text-sm"  @tap="$wanlshop.auth('/pages/user2/vip/vip')">
					<text class="wlIcon-shouhou" style="font-size: 50rpx;"></text>
					权益中心
				</view>
				<view class="text-sm" @tap="$wanlshop.auth('/pages/user2/money/money')">
					<text class="wlIcon-paixing" style="font-size: 50rpx;"></text>
					我的收益
				</view>
				<view class="text-sm" @tap="$wanlshop.auth('/pages/user2/offlines/offlines')">
					<text class="wlIcon-fenxiang" style="font-size: 50rpx;"></text>
					我的分享
				</view>
				<view class="text-sm" @tap="$wanlshop.to('/pages/notice/notice')" style="position: relative;">
					<text class="wlIcon-xiaoxizhongxin" style="font-size: 50rpx;"></text>
					我的消息		
					<view class="cu-tag badge bg-white" style="color: red;" v-if="statistics.notice.notice +statistics.notice.order +statistics.notice.chat > 0">{{statistics.notice.notice +statistics.notice.order +statistics.notice.chat}}</view>			
				</view>
				
			</view>
			
			<view class="activity padding-bj" style="bottom: -130rpx">
				<view class="bg-white radius grid text-center col-3 padding-lr-bj padding-tb-sm" style="font-size: 28rpx;">
					<view class="flex justify-center" style="width: 20%;" @tap="$wanlshop.auth('/pages/user2/money/money')">
						<view class="content" style="height: 120rpx">
						    <text class="wlIcon-goumai wanl-red" style="font-size: 48rpx;"></text>
							<view class="wanl-black text-bold6" style="margin-top: 6px;">零钱</view>						
						</view>
					</view>
					<view class="flex justify-center" style="width: 20%;" @tap="$wanlshop.auth('/pages/user2/reimbursement/reimbursement')">
						<view class="content" style="height: 120rpx">
							<text class="wlIcon-31youhuiquan wanl-red" style="font-size: 48rpx;"></text>
							<view class="wanl-black text-bold6" style="margin-top: 6px;">消费券</view>					
						</view>
						
					</view>
					<view class="flex justify-center" style="width: 20%;" @tap="$wanlshop.auth('/pages/user2/coin/coin')">
						<view class="content"  style="height: 120rpx">
							<text class="wlIcon-tubiao309 wanl-red" style="font-size: 48rpx;"></text>
							<view class="wanl-black text-bold6" style="margin-top: 6px;">金币</view>						
						</view>
					</view>
			
					<view v-if="user.isvip" class="flex justify-center" style="width: 20%;" @tap="$wanlshop.auth('/pages/user2/bank/bank')">
						<view class="content" style="height: 120rpx">
						    <text class="wlIcon-31huiyuanqia wanl-red" style="font-size: 48rpx;"></text>
							<view class="wanl-black text-bold6" style="margin-top: 6px;">银行卡</view>						
						</view>
					</view>
					<view class="flex justify-center" style="width: 20%;" @tap="$wanlshop.auth('/pages/user2/money/list')">
						<view class="content" style="height: 120rpx">
						    <text class="wlIcon-chanpincanshu wanl-red" style="font-size: 48rpx;"></text>
							<view class="wanl-black text-bold6" style="margin-top: 6px;">帐单</view>						
						</view>
					</view>
				</view>
			</view>
		</view>

		
		<view style="clear: both;"></view>
		
		<view class="wanl-user-order padding-sm margin-bj"  style="margin-top: 135rpx;">
			<view class="project text-sm wanl-gray-dark">订单管理</view>
			<view class="project text-sm wanl-gray-dark">
				<view @tap="$wanlshop.auth('/pages/user/order/order?state=1')">
					<text class="wlIcon-daifukuan wanl-pip"></text>
					待付款
					<view class="cu-tag badge bg-orange" v-if="statistics.order.pay > 0">{{ $wanlshop.toFormat(statistics.order.pay, 'hundred') }}</view>
				</view>
				<view @tap="$wanlshop.auth('/pages/user/order/order?state=2')">
					<text class="wlIcon-daifahuo wanl-pip"></text>
					待发货
					<view class="cu-tag badge bg-orange" v-if="statistics.order.delive > 0">{{ $wanlshop.toFormat(statistics.order.delive, 'hundred') }}</view>
				</view>
				<view @tap="$wanlshop.auth('/pages/user/order/order?state=3')">
					<text class="wlIcon-daishouhuo wanl-pip"></text>
					待收货
					<view class="cu-tag badge bg-orange" v-if="statistics.order.receiving > 0">{{ $wanlshop.toFormat(statistics.order.receiving, 'hundred') }}</view>
				</view>
				<view @tap="$wanlshop.auth('/pages/user/order/order?state=4')">
					<text class="wlIcon-daipinglun wanl-pip"></text>
					待评价
					<view class="cu-tag badge bg-orange" v-if="statistics.order.evaluate > 0">{{ $wanlshop.toFormat(statistics.order.evaluate, 'hundred') }}</view>
				</view>
				<view class="solid-left" @tap="$wanlshop.auth('/pages/user/refund/lists')">
					<text class="wlIcon-unie737 wanl-pip"></text>
					退货/售后
					<view class="cu-tag badge bg-orange" v-if="statistics.order.customer > 0">{{ $wanlshop.toFormat(statistics.order.customer, 'hundred') }}</view>
				</view>
			</view>

		</view>		
		
		
		<view class="wanl-user-order padding-sm margin-bj"  v-if="user.isLogin && user.partner"   style="margin-top: 30rpx;" @tap="$wanlshop.auth('/pages/user2/partner/index')">
			<view class="project text-sm wanl-gray-dark" style="margin-bottom: 0;display: block;color: #AE723E;">经销商入口<text class="wlIcon-fanhui2 wanl-pip" style="float: right;display: block;font-size: 18px;color: #AE723E;"></text></view>
		</view>	
		<view class="wanl-user-order padding-sm margin-bj"  v-if="user.isLogin && store"   style="margin-top: 30rpx;" @tap="$wanlshop.auth('/pages/user2/partner/store')">
			<view class="project text-sm wanl-gray-dark" style="margin-bottom: 0;display: block;color: #AE723E;">社区合伙人入口<text class="wlIcon-fanhui2 wanl-pip" style="float: right;display: block;font-size: 18px;color: #AE723E;"></text></view>
		</view>	
		
		<view class="wanl-user-order padding-sm margin-bj"  v-if="(user.isLogin && storeManage) || (user.isLogin && user.storeManage)"   style="margin-top: 30rpx;" @tap="$wanlshop.auth(`/pages/user2/partner/store/index?id=${user.storeManage}`)">
			<view class="project text-sm wanl-gray-dark" style="margin-bottom: 0;display: block;color: #AE723E;">社区合伙人后台管理<text class="wlIcon-fanhui2 wanl-pip" style="float: right;display: block;font-size: 18px;color: #AE723E;"></text></view>
		</view>	
		

		
        <view style="clear: both;"></view>
		
	
		
		
		<view class="wanl-user-order padding-sm margin-bj" style="margin-top: 0;">
			<view class="project text-sm wanl-gray-dark">我的区块链账户地址</view>
			<view class="project text-sm wanl-gray-dark">
				
				<view style="line-height: 1.8;" @tap="$wanlshop.auth('/pages/user/signin/log')">
					<view class="wanl-pip text-xs text-bold" style="text-align: center;font-size: 25rpx;color: #AAA6A3;font-weight: 400;">ACFA8q79aH3wZPnoqkVSuV7EJ1GrNkdNgC</view>
				</view>
			</view>
		</view>
		
		
		
		<view class="wanl-user-tool padding-top-bj margin-lr-bj">
			<view class="list text-sm grid col-5 wanl-gray-dark" style="color: #3F3023;">
	<!-- 			<view @tap="$wanlshop.auth('/pages/user2/partner/partnerorder?state=0')">
					<text class="wlIcon-zhifeiji " style="color: #F86150;"></text>
					核销
				</view> -->
				<view @tap="$wanlshop.auth('/pages/user2/money/money')">
					<text class="wlIcon-youhuiquantuangou " style="color: #F86150;"></text>
					钱包
				</view>
				<view @tap="$wanlshop.auth('/pages/user/collect')">
					<text class="wlIcon-shoucangxuanzhong " style="color: #F86150;"></text>
					收藏
				</view>
				<view @tap="$wanlshop.auth('/pages/user/follow')">
					<text class="wlIcon-jinrudianpu " style="color: #F86150;"></text>
					关注店铺
				</view>
				<!--<view @tap="$wanlshop.auth('/pages/apps/groups/order/order')">
					<text class="wlIcon-pintuan2 wanl-text-yellow"></text>
					拼团订单
					<view class="cu-tag badge bg-orange" v-if="statistics.order.groups > 0">{{ $wanlshop.toFormat(statistics.order.groups, 'hundred') }}</view>
				</view>-->
				<view @tap="$wanlshop.auth('/pages/user/comment/comment')">
					<text class="wlIcon-icon_pinglun " style="color: #F86150;"></text>
					评论
				</view>

				<!-- <view @tap="$wanlshop.auth('/pages/user/order/bargain')">
					<text class="wlIcon-jiage wanl-text-light-blue"></text>
					我的砍价
				</view> -->
				<view @tap="$wanlshop.auth('/pages/user/address/address?source=1')">
					<text class="wlIcon-dizhi " style="color: #F86150;"></text>
					收货地址
				</view>
		
				<view @tap="$wanlshop.auth('/pages/user/signin/signin')">
					<text class="wlIcon-mianxing-rili " style="color: #F86150;"></text>
					签到
				</view>
				<view @tap="$wanlshop.auth('/pages/user/complaint/lists')">
					<text class="wlIcon-31guanzhuxuanzhong " style="color: #F86150;"></text>
					我的举报
				</view>
				<view @tap="$wanlshop.auth('/pages/user/feedback/lists')">
					<text class="wlIcon-pingjiazongjie " style="color: #F86150;"></text>
					反馈
				</view>
				<view @tap="help">
					<text class="wlIcon-bangzhu3 " style="color: #F86150;"></text>
					帮助中心
				</view>
				<view @tap="$wanlshop.auth('/pages/user/service')">
					<text class="wlIcon-icon-service " style="color: #F86150;"></text>
					客服
				</view>
				<!-- #ifndef H5 -->
				<!--<view @tap="$wanlshop.auth('/pages/shop/live/live')">
					<text class="wlIcon-icon_zhibo-mian wanl-text-blue"></text>
					商家直播
				</view>-->
				<!-- #endif -->
		<!-- 		<view @tap="$wanlshop.auth('/pages/apps/find/user')">
					<text class="wlIcon-pengyouquan " style="color: #F86150;"></text>
					发视频
				</view> -->
				<view @tap="setting">
					<text class="wlIcon-shezhi1 " style="color: #F86150;"></text>
					设置
				</view>
				<view v-if="user.id == 9 || user.id == 11 ||user.id == 93 ||user.id == 2" @tap="$wanlshop.auth('/pages/user2/ptorder')">
						<text class="wlIcon-dianpu " style="color: #F86150;"></text>
						平台配送订单
				</view>
<!-- 				<view @tap="showsheet1">
					<text class="wlIcon-dianpu " style="color: #F86150;"></text>
					我是商家
				</view> -->
				
				<view @tap="showsheet">
					<text class="wlIcon-31haoyou wanl-orange"></text>
					经销商申请
				</view>
			</view>
		</view>
		<view class="wanl-you-like" :style="{ backgroundImage: 'url(' + $wanlshop.appstc('/common/guess_you_like_it.png') + ')' }"></view>
		<wanl-product :dataList="likeData"/>
		<uni-load-more :status="status" :content-text="contentText" />
		<view class="edgeInsetBottom"></view>
	<!-- 	<tab-bar></tab-bar> -->
	</view>
</template>

<script>
import { mapState } from 'vuex';
export default {
	data() {
		return {
			headerOpacity: 0,
			
			partner:false,
			partner_txt:'社区服务商',
			partner_data:[],			
			
			shop:false,
			shop_txt:'',
			shop_data:[],
			
			// 上拉刷新
			reload: true,
			likeData: [],
			current_page: 1, //当前页码
			last_page: 1, //总页码
			status: 'loading',
			contentText: {
				contentdown: ' ',
				contentrefresh: '正在加载...',
				contentnomore: '没有更多数据了'
			},
			share:0,
			store:0,
			storeManage:0
		};
	},
	computed: {
		...mapState(['user', 'statistics','common'])		
	},
	onPullDownRefresh() {
		this.loadData();
	},
	onShow() {
		
		setTimeout(()=> {
			uni.setNavigationBarColor({  
				frontColor: this.$store.state.common.appStyle.user_font_color == 'light'?'#ffffff':'#000000',  
				backgroundColor: this.$store.state.common.appStyle.user_nav_color
		    })  
		}, 200);	
		
	},
	onLoad() {	

		if (this.$store.state.user.isLogin) {		
			this.loadData();
		}
		this.loadlikeData();
	},
	onPageScroll(e) {
		let tmpY = 50;
		e.scrollTop = e.scrollTop > tmpY ? 50 : e.scrollTop; //如果当前高度大于250则250否则当前高度
		this.headerOpacity = e.scrollTop * (1 / tmpY); //$headerOpacity 赋值当前高度x（1÷250）
	},
	onReachBottom() {
		//判断是否最后一页
		if (this.current_page >= this.last_page) {
			this.status = 'noMore';
		} else {
			this.reload = false;
			this.current_page = this.current_page + 1; //页码+1
			this.status = 'loading';
			this.loadlikeData();
		}
	},
	methods: {
		async loadData() {
			await uni.request({
				url: '/wanlshop/user/refresh',
				method: 'POST',
				success: res => {					
					res.data.userinfo.partner = res.data.partner;//全局添加经销商
					res.data.userinfo.myshop = res.data.shop;//全局添加店铺	
					res.data.userinfo.store = res.data.store;//全局添加社区合伙人1	
					res.data.userinfo.storeManage = res.data.storeManage;//全局添加社区合伙人1	
					this.store = res.data.store;
					this.storeManage = res.data.storeManage;		
					this.$store.commit('statistics/edit', res.data.statistics);
					this.$store.commit('user/setUserInfo', res.data.userinfo);
					uni.stopPullDownRefresh();
				},
				fail:res =>{
					uni.stopPullDownRefresh();
				}
			});
			uni.request({
				url: '/wanlshop/user/getOfflinesNumber',			       
				success: res => {
					this.share = res.data.number;
				}
			}) 
			uni.stopPullDownRefresh();
		},
		// 滚动底部加载猜你喜欢
		async loadlikeData() {
			await uni.request({
				url: '/wanlshop/product/likes?pages=user',
				data: {
					page: this.current_page
				},
				success: res => {					
					this.likeData = this.reload ? res.data.data : this.likeData.concat(res.data.data); //评论数据 追加
					this.current_page = res.data.current_page; //当前页码
					this.last_page = res.data.last_page; //总页码
					this.status = res.data.total == 0 ? 'noMore' : 'more';
				}
			});
		},
		showsheet() {
					if (this.$store.state.user.isLogin) {
						this.loadData();
					}else{
						this.$wanlshop.to('/pages/user/auth/auth');
					}
			        //申请前刷新数据 
					if(this.user.isvip != 1){
						this.$wanlshop.msg('报歉，非会员不能申请');return false;	
					}
					// if(this.share < 3){
					// 	this.$wanlshop.msg('报歉，分享会员不足3人');return false;	
					// }
					if(this.user.partner){
					 	this.$wanlshop.msg('您已经是经销商了！');return false;	
					}
					 uni.showActionSheet({
					    itemColor: "#FE6800",
						itemList: [
							'社区服务商',
							'经销商'
						],
						success: (res) => {								
							if(res.tapIndex == 1){
								this.$wanlshop.auth('/pages/shop/apply/one/one?type=2');
							}
							else{
								uni.request({
									url: '/wanlshop/ddp/apply',
									method: 'get',
									success: res => {
										this.$wanlshop.msg('已向上级经销商提交申请！');
										return false;										
									}
								});
							}
													   
						},
						fail: (err) => {
						  console.log('弹窗取消');
						}
					});
					
					
				},
		showsheet1() {
				  uni.showActionSheet({
					itemColor: "#FE6800", 
					itemList: [
						'发券商户',
						'收券商户'
					],
					success: (res) => {							  
						 this.$wanlshop.auth('/pages/shop/apply/apply?url=https://www.dundunpai.cn/index/wanlshop/entry/index&type='+(res.tapIndex+1));							   
					},
					fail: (err) => {
					  console.log('弹窗取消');
					}
				  });
				},
		// 帮助
		help() {
			this.$wanlshop.to('/pages/user/help');
		},
		// 设置
		setting() {
			this.$wanlshop.to('/pages/user/setting/setting');
		},
		portrai() {
			this.$wanlshop.to('/pages/user/portrait/portrait');
		}
	}
};
</script>

<style>
.cu-bar .action.mp:first-child > text[class*='wlIcon-'] {
	margin-left: 0;
}

.wanl-user {
	background-repeat: no-repeat;
	background-size: 100%;
	position: relative;
}

.wanl-user .user {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 30rpx;
	padding-bottom: 30rpx;
}

.wanl-user .user .avatar {
	position: relative;
	height: 123rpx;
	width: 123rpx;
	border-radius: 5000rpx;
	overflow: hidden;
	border: 3px solid white;
}

.wanl-user .user .avatar image {
	height: 120rpx;
}

.wanl-user .user .avatar .tag {
	position: absolute;
	bottom: 0;
	right: 0;
}

.wanl-user .user .content {
	flex: 1;
}

/* 操作 */
.wanl-user .operate {
	display: flex;
	justify-content: space-around;
	text-align: center;
	padding-bottom: 70rpx;
	line-height: 1.3;
}

.wanl-user .operate text {
	display: block;
	font-size: 32rpx;
}

/* 活动 */
.wanl-user .activity {
	position: absolute;
	width: 100%;
	bottom: -80rpx;
}

.wanl-user .activity .radius {
	border-radius: 24rpx;
}

.wanl-user .activity .cu-avatar {
	width: 69rpx;
	height: 69rpx;
	margin-right: 30rpx;
	background-color: transparent;
	/* border: 1px solid rgba(255,255,255,.6); */
}

.wanl-user .activity .content {
	text-align: center;
	height: 68rpx;
}

/* 订单 */
.wanl-user-order {
	margin-top: 80rpx;
	border-radius: 24rpx;
	background-color: white;
}

.wanl-user-order .title {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
}

.wanl-user-order .title text {}



/* 状态 */
.wanl-user-order .project {
	display: flex;
	/* justify-content: space-around; */
	text-align: left;
	margin-bottom: 10px;
	color: black;
	font-size: 32rpx;
}

.wanl-user-order .project>view {
	position: relative;
	flex: 1;
	text-align: center;
	font-size: 30rpx;
}

.wanl-user-order .project>view .cu-tag {
	top: -4rpx;
	right: 26rpx;
}

.wanl-user-order .project text {
	display: block;
	font-size: 50rpx;
	margin-bottom: 6rpx;
}

/* 物流 */
.wanl-user-order .logistics {
	background-color: #f9f9f9;
	border-radius: 24rpx;
}

.wanl-user-order .logistics .swiper {
	height: 120rpx;
}

.wanl-user-order .logistics .swiper .title {
	display: flex;
	justify-content: space-between;
	margin-bottom: 10rpx;
	color: #999999;
}

.wanl-user-order .logistics .swiper .cu-avatar {
	margin-right: 10rpx;
	height: 66rpx;
	width: 66rpx;
	border-radius: 12rpx;
	background-color: #ffffff;
}

.wanl-user-order .logistics .swiper .content .text-df {
	color: #3797e0;
	font-size: 27rpx;
	margin-bottom: 2rpx;
}

.wanl-user-order .logistics .swiper .content .text-sm {
	color: #999999;
}

.wanl-user-order .logistics .swiper .content text {
	font-size: 32rpx;
	margin-left: 15rpx;
	margin-right: 10rpx;
}

/* 工具箱 */
.wanl-user-tool {
	background-color: #ffffff;
	border-radius: 24rpx;
}

.wanl-user-tool .title {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
}

.wanl-user-tool .title text {
	margin-left: 2rpx;
}

/* 状态 */
.wanl-user-tool .list {
	text-align: center;
}

.wanl-user-tool .list>view {
	margin-bottom: 28rpx;
	position: relative;
}
.wanl-user-tool .list>view .cu-tag {
	top: -8rpx;
	left: 80rpx;
	right: unset;
}

.wanl-user-tool .list text {
	display: block;
	font-size: 54rpx;
	margin-bottom: 8rpx;
}

.userjd{
	 background-color: white;
	   width: 45px;
	   text-align: center;
	   border-radius: 10px;
	   position: absolute;
	   right: 30px;
	   top: 10px;
	   font-size: 15px;
	   padding: 2px 0;
}
</style>
